aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
diff options
context:
space:
mode:
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected16
1 files changed, 8 insertions, 8 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index d725544c..cd70b0de 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -2,25 +2,26 @@ Compilation unit elements:
Locals:
- * (val "tuplePointer__0" data-ptr)
* (val "tupleElement__2__0" int)
* (val "tupleElement__1__0" int)
* (val "tupleElement__0__0" int)
+ * (val "tuplePointer__0" data-ptr)
* (val "tuple__0" int)
Instructions:
(
- (alloc-heap (local "tuplePointer__0") (struct (int int int)))
(local-store (local "tupleElement__2__0") (local "d"))
+ (local-store (local "tupleElement__1__0") (local "c"))
+ (local-store (local "tupleElement__0__0") (local "b"))
+ (alloc-heap (local "tuplePointer__0") (struct (int int int)))
(
memory-store
pointer=(local "tuplePointer__0")
layout=(struct (int int int))
- offset=(2)
- value=(local "tupleElement__2__0")
+ offset=(0)
+ value=(local "tupleElement__0__0")
)
- (local-store (local "tupleElement__1__0") (local "c"))
(
memory-store
pointer=(local "tuplePointer__0")
@@ -28,13 +29,12 @@ Instructions:
offset=(1)
value=(local "tupleElement__1__0")
)
- (local-store (local "tupleElement__0__0") (local "b"))
(
memory-store
pointer=(local "tuplePointer__0")
layout=(struct (int int int))
- offset=(0)
- value=(local "tupleElement__0__0")
+ offset=(2)
+ value=(local "tupleElement__2__0")
)
(data-ptr-to-int (local "tuple__0") (local "tuplePointer__0"))
)